package com.example.user.mapper.chat;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.user.domain.chat.GroupMember;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * 群组成员Mapper接口
 */
@Mapper
public interface GroupMemberMapper extends BaseMapper<GroupMember> {
    
    /**
     * 根据群组ID查询所有有效成员
     * @param groupId 群组ID
     * @return 成员列表
     */
    List<GroupMember> selectActiveMembers(Long groupId);
} 